package org.example.wechat.model;
import lombok.Data;

import java.sql.Time;

@Data
public class User {
    private Integer id;
    private String username;//用户账号--8位
    private String password;//用户密码
    private String name;//用户名称
    private String sex;//用户性别
    private String province;//用户省份
    private Time createTime;//账号创建日期
    private Time lastUpdateTime;//上次修改时间
    private Time lastLoginTime;//上次登录日期+

    public User() {
    }

    public User(String username, String password, String name, String sex, String province) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.sex = sex;
        this.province = province;
    }
}
